package com.yloveg.dao;

import java.util.List;

import com.yloveg.entity.VActivity;
import com.yloveg.entity.VGift;

public interface VActivityMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(VActivity record);

    int insertSelective(VActivity record);

    VActivity selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(VActivity record);

    int updateByPrimaryKey(VActivity record);
    
    List<VActivity> queryVActivity();
    
    List<VActivity> queryVActivityNotOpen();
    
    List<VActivity> queryVActivityOpen();
    
    List<VActivity> queryVActivityOver();
    
    int getActivityTotal();
   
}